#include <iostream>
#include <string>  
#include "car.h"
using namespace std;

SmartCar::SmartCar(){}
    // 构造函数，只接受小车编号和底盘编号作为输入  
SmartCar::SmartCar(const std::string& carId, const std::string& chassisId)   
    : carId(carId), chassis{chassisId, "SCOUT MINI", 451, 490, 115, 0, "四轮四驱", 10,   
            {{"公路轮", 175}, {"公路轮", 175}, {"公路轮", 175}, {"公路轮", 175}}} {  
    // 初始化AGX套件信息  
    agxKit = {  
        "AGX Xavier",  
        32, 512, 64, 32, 32  
    };  

    // 初始化摄像头信息  
    camera = {  
        "RealSense D435i",  
        "D430",  
        1920, 1080, 30, 87, 58, 90  
    };  
    lidar = {"RS-Helios-16p", 16, 100, 8};
    gyroscope = {"CH110", "NXP"};
    display = {11.6, "super"}; 
    battery = {"24V/15Ah", 24, 2};

     
}  

string SmartCar::getCarId() const{
    return carId;
}

string SmartCar::getChassisId() const{
    return chassis.id;
}


// Student::Student(const std::string ID, const std::string studentName, std::string carId){
//     studentId = ID;
//     name = studentName;
// }

  

